Repository navigation
chore: sync fork with upstream (2026-11-23) - #45
Conversation
…ests (pingdotgg#40634) Co-authored-by: Mostafa El Ayoubi <20224923+MostafaElAyoubi@users.noreply.github.com>
pingdotgg#40633) Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#40622) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…heckout (pingdotgg#38271) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#38542) Co-authored-by: Geezy <igor.licko@gloryck.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…e per turn (pingdotgg#40671) Co-authored-by: Julius Marminge <julius0216@outlook.com>
… drops its prompt (pingdotgg#40670) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ared tooltip; remark leaves the web app (pingdotgg#27866) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Yash Singh <saiansh2525@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Gemini 4 Neon <noreply@google.com> Co-authored-by: Noah Sigel <noah.sigel@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…-foreground-muted (pingdotgg#40676) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#40701) Co-authored-by: MarcoDotIO <20867620+MarcoDotIO@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…not generate text (pingdotgg#40699) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#40682) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…s the draft (pingdotgg#40708) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…its (pingdotgg#39822) Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: charlesbine <charlesbine@users.noreply.github.com>
pingdotgg#40154) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ow or steer survive a dropped socket (pingdotgg#40703) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…n a broken character (pingdotgg#40726) Co-authored-by: MarcoDotIO <20867620+MarcoDotIO@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…anch (pingdotgg#40736) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…d private ones work end to end (pingdotgg#40741)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…r holds new messages (pingdotgg#41052) Co-authored-by: MarcoDotIO <20867620+MarcoDotIO@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…om a No-project thread (pingdotgg#41073)
…model (pingdotgg#41086) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g#41097) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#41085) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#41116) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#41113) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#41122) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…am's memo cache Upstream's memoized resolveInlineCodeFileLinkMeta dropped the fork's rootDir argument, so code spans in an agent's worktree resolved against the wrong root. Pass rootDir through and include it in the cache key.
|
This PR changes the test suite by +210 test cases (browser +16, unit +89, server +105). New browser test files: Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosNo All 64 scenario measurements
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Upstream's exit wake (pingdotgg#30214) lists awaited work the exited Claude process took with it. The fork drops a stopped task from the roster at once, because Claude may open no wake for it, so the exit found nothing and the agent stayed asleep. The fork now keeps the stopped task's listed entry and counts it as lost on an unexpected exit when the agent awaited it.
A stop that arrives during a turn reaches Claude in that turn, so a later unexpected exit must not wake the agent for it again.
Daily upstream sync: merges
upstream/main(65b2e6d, 141 commits) intofork.Conflict resolutions
package.json,pnpm-lock.yaml,pnpm-workspace.yaml,.pnpmfile.cjs): regenerated from upstream withscripts/fork-convert-to-bun.tsandbun install.scripts/check-changed.ts: kept upstream's newapps/web/depsentry; kept the fork'sbunfig.tomlin place of.pnpmfile.cjs.ProviderSessionManager.ts: upstream re-keyedidleThreadUnloadsby provider thread id and inlined the undelivered-child check. Kept the fork'sprobePendingBackgroundWork(it also checkshasUndeliveredWake) andholdsUndeliveredChild, which now readsthreadIdfrom the map values.cli/thread.ts: took upstream'sObject.assignthread merge and itssystemrole; kept the fork'srunId ?? null, because fork tool items omitrunId.runtimeInstructions.ts, Claude/Codex/OpenCode adapters,evals/mcp-tool-use/run.ts): kept both the fork'sdelegatedChildPR block and upstream'sagentFeedbackline. The feedback line follows the PR block, as upstream places it.ChatMarkdown.tsx: took upstream's per-block link cache and the removal of math from thecodecomponent. The cache, its key and the island check now use the fork'sbaseDir/rootDir(worktree-aware file links) in place ofimageBaseDir.runtimeInstructions.test.ts,PullRequestWatchService.test.ts,gitHubPullRequestJson.test.ts): kept the fork's and upstream's new cases.agentContextBudget.json: set to measured values.mcpToolListJsonBytesgrew by 1322, the same as upstream's growth (59052 → 60374), so theagent-context-increaselabel applies.Fork fixes
fix(fork): upstream's memoizedresolveInlineCodeFileLinkMetadropped the fork'srootDir, somarkdown-links.test.tsfailed.rootDirnow passes through and is part of the cache key.fix(fork): upstream's exit wake (fix(server): wake the agent when Claude exits while it awaits background work pingdotgg/t3code#30214) found no lost work when an awaited task was stopped before Claude exited, because the fork drops a stopped task from the roster at once. TwoClaudeAutomaticDelivery.integration.test.tscases hung. The adapter now keeps the stopped task's listed entry and counts it as lost on an unexpected exit when the agent awaited it. A second commit keeps the entry only for a stop that arrived with no turn running, because a turn already shows Claude the stop.Checks
vp run check:changed upstream/main: format, lint, knip and typecheck pass. Locally, twoChatMarkdown.permissions.browser.test.tsxcases fail on macOS, because Chromium there opens no context menu on Shift+F10. CI runs them on Linux.Opus 5.5 (claude-opus-5-5) in Claude Code, through T3 Code.